home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ddddrrrrvvvv____ggggeeeettttppppaaaarrrrmmmm((((DDDD3333)))) ddddrrrrvvvv____ggggeeeettttppppaaaarrrrmmmm((((DDDD3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- _dddd_rrrr_vvvv______gggg_eeee_tttt_pppp_aaaa_rrrr_mmmm - retrieve kernel state information
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
- _iiii_nnnn_tttt _dddd_rrrr_vvvv______gggg_eeee_tttt_pppp_aaaa_rrrr_mmmm_((((_uuuu_llll_oooo_nnnn_gggg______tttt _p_a_r_m_,,,, _uuuu_llll_oooo_nnnn_gggg______tttt _****_v_a_l_u_e__p_))))_;;;;
-
- AAAArrrrgggguuuummmmeeeennnnttttssss
- _p_a_r_m The kernel parameter to be obtained.
-
- _v_a_l_u_e__p A pointer to the data space into which the value of the
- parameter is to be copied.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _dddd_rrrr_vvvv______gggg_eeee_tttt_pppp_aaaa_rrrr_mmmm returns the value of the parameter specified by _p_a_r_m in the
- location pointed to by _v_a_l_u_e__p.
-
- RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
- On success, _dddd_rrrr_vvvv______gggg_eeee_tttt_pppp_aaaa_rrrr_mmmm returns 0. On failure it returns -1 to indicate
- that _p_a_r_m specified an invalid parameter.
-
- UUUUSSSSAAAAGGGGEEEE
- _dddd_rrrr_vvvv______gggg_eeee_tttt_pppp_aaaa_rrrr_mmmm does not explicitly check to see whether the driver has the
- appropriate context when the function is called. It is the
- responsibility of the driver to use this function only when it is
- appropriate to do so and to correctly declare the data space needed.
-
- Valid values for _p_a_r_m are:
-
- _LLLL_BBBB_OOOO_LLLL_TTTT Read the number of clock ticks since the last system
- reboot. The difference between the values returned from
- successive calls to retrieve this parameter provides an
- indication of the elapsed time between the calls in units
- of clock ticks. The length of a clock tick can vary
- across different implementations, and therefore drivers
- should not include any hard-coded assumptions about the
- length of a tick. The _dddd_rrrr_vvvv______hhhh_zzzz_tttt_oooo_uuuu_ssss_eeee_cccc(D3) and
- _dddd_rrrr_vvvv______uuuu_ssss_eeee_cccc_tttt_oooo_hhhh_zzzz(D3) functions can be used, as necessary, to
- convert between clock ticks and microseconds
- (implementation independent units).
-
- _TTTT_IIII_MMMM_EEEE Read the time in seconds. This is the same time value
- that is returned by the _tttt_iiii_mmmm_eeee(2) system call. The value is
- defined as the time in seconds since 00:00:00 GMT, January
- 1, 1970. This definition presupposes that the
- administrator has set the correct system date and time.
-
- _UUUU_CCCC_RRRR_EEEE_DDDD Retrieve a pointer to the credential structure describing
- the current user credentials for the current process. The
- value returned in *_v_a_l_u_e__p is of type _((((_cccc_rrrr_eeee_dddd______tttt _****_)))) and the
- only valid use of the value is as an argument to
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ddddrrrrvvvv____ggggeeeettttppppaaaarrrrmmmm((((DDDD3333)))) ddddrrrrvvvv____ggggeeeettttppppaaaarrrrmmmm((((DDDD3333))))
-
-
-
- _dddd_rrrr_vvvv______pppp_rrrr_iiii_vvvv(D3). Since this value is associated with the
- current process, the caller must have process context
- (that is, must be at base level) when attempting to
- retrieve this value. Also, this value should only be used
- in the context of the process in which it was retrieved.
-
- _PPPP_GGGG_RRRR_PPPP Read the process group identification number. This number
- determines which processes should receive a HANGUP or
- BREAK signal when detected by a driver.
-
- _PPPP_PPPP_IIII_DDDD Read process identification number.
-
- _PPPP_SSSS_IIII_DDDD Read process identification number.
-
- LLLLeeeevvvveeeellll
- Base only when using the _UUUU_CCCC_RRRR_EEEE_DDDD_PPPP _aaaa_rrrr_gggg_uuuu_mmmm_eeee_nnnn_tttt _vvvv_aaaa_llll_uuuu_eeee_ssss_....
- _IIII_nnnn_iiii_tttt_iiii_aaaa_llll_iiii_zzzz_aaaa_tttt_iiii_oooo_nnnn_,,,, _BBBB_aaaa_ssss_eeee_,,,, _oooo_rrrr _IIII_nnnn_tttt_eeee_rrrr_rrrr_uuuu_pppp_tttt _wwww_hhhh_eeee_nnnn _uuuu_ssss_iiii_nnnn_gggg _tttt_hhhh_eeee _LLLL_BBBB_OOOO_LLLL_TTTT _oooo_rrrr _TTTT_IIII_MMMM_EEEE _aaaa_rrrr_gggg_uuuu_mmmm_eeee_nnnn_tttt
- _vvvv_aaaa_llll_uuuu_eeee_ssss_....
-
- SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
- Does not sleep.
- Driver-defined basic locks, read/write locks, and sleep locks may be held
- across calls to this function
-
- RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
- _dddd_rrrr_vvvv______hhhh_zzzz_tttt_oooo_uuuu_ssss_eeee_cccc(D3), _dddd_rrrr_vvvv______pppp_rrrr_iiii_vvvv(D3), _dddd_rrrr_vvvv______uuuu_ssss_eeee_cccc_tttt_oooo_hhhh_zzzz(D3)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-